﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace DoABarrelRoll
{
    public partial class UI : Form
    {
        public UI()
        {
            InitializeComponent(); 
        }
        private void MHelperConfig_Load(object sender, EventArgs e)
        {
            DoABarrelRollSettings.Instance.Load();
            UseRoll.Checked = DoABarrelRollSettings.Instance.UseRoll;
        }
        private void UseRoll_CheckedChanged(object sender, EventArgs e)
        {
            DoABarrelRollSettings.Instance.UseRoll = UseRoll.Checked;
        }
        private void Save_Click(object sender, EventArgs e)
        {
            DoABarrelRollSettings.Instance.Save();
        }

        private void label1_Click(object sender, EventArgs e)
        {

        }
    }
}
